home *** CD-ROM | disk | FTP | other *** search
- unit User;
-
- {This module is the place to put user additions to Image. You will need }
- {to uncomment the call to InitUser in Image.p.}
-
-
- interface
-
- uses
- QuickDraw, OSIntf, PickerIntf, PrintTraps, ToolIntf, globals, Utilities, Graphics;
-
-
- procedure InitUser;
- procedure DoUserCommand1;
- procedure DoUserCommand2;
- procedure DoUserMenuEvent (MenuItem: integer);
-
-
- implementation
-
- {User global variables go here.}
-
-
- procedure InitUser;
- begin
- UserMenuH := GetMenu(UserMenu);
- InsertMenu(UserMenuH, 0);
- DrawMenuBar;
- {Additional user initialization code goes here.}
- end;
-
-
- procedure DoUserCommand1;
- begin
- beep;
- end;
-
-
- procedure DoUserCommand2;
- begin
- beep;
- end;
-
- procedure DoUserMenuEvent (MenuItem: integer);
- begin
- case MenuItem of
- 1:
- DoUserCommand1;
- 2:
- DoUserCommand1;
- end;
- end;
-
- end.